<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2016/6/6
 * Time: 13:44
 */

namespace app\api\controller;


use app\common\controller\Base;
use app\common\service\ImageLoad;

class Image extends Base
{

    public function show($id){

        $imageLoad = new ImageLoad($id);
        if(!$imageLoad->printImg()){
            $this->error('图片找不到');
        }

    }
}